package com.dingding.facade.commonservice.common.dto.distance;

import java.io.Serializable;
import java.math.BigDecimal;

import com.dingding.common.core.util.paravalidate.CanNull;
import com.dingding.facade.commonservice.common.dto.rule.ResValuationRule;

/**
 * 
 * @ClassName: ReqMileageCostDTO 
 * @Description: 里程费用
 * @author YHQ
 * @date 2016年12月1日 下午8:14:11
 * @since V2.5.7
 * 
 */
@SuppressWarnings("serial")
public class ReqMileageCostDTO implements Serializable{
		
	private BigDecimal orderMileage;	// 订单里程
	@CanNull
	private BigDecimal nightMileage;	// 夜间行驶里程
	@CanNull
	private BigDecimal duration;		// 订单时长
	private ResValuationRule chargeRule;// 计价规则
	private Integer calculationType;	// 计算类型  1:计算距离价格   2:实时计算距离价格 3：确认到达
	
	public BigDecimal getOrderMileage() {
		return orderMileage;
	}
	public void setOrderMileage(BigDecimal orderMileage) {
		this.orderMileage = orderMileage;
	}
	
	public BigDecimal getDuration() {
		return duration;
	}
	public void setDuration(BigDecimal duration) {
		this.duration = duration;
	}
	public ResValuationRule getChargeRule() {
		return chargeRule;
	}
	public void setChargeRule(ResValuationRule chargeRule) {
		this.chargeRule = chargeRule;
	}
	public BigDecimal getNightMileage() {
		return nightMileage;
	}
	public void setNightMileage(BigDecimal nightMileage) {
		this.nightMileage = nightMileage;
	}
	public Integer getCalculationType() {
		return calculationType;
	}
	public void setCalculationType(Integer calculationType) {
		this.calculationType = calculationType;
	}
	
}
